package com.chinasoft.tw.service.nealhuang;

import com.chinasoft.tw.pojo.Info;
import com.chinasoft.tw.service.TrueWord;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

public class Nealhuang implements TrueWord {
    String name;
    List<String> wordList = new ArrayList<>();
    Random random = new Random();

    public Nealhuang() {
        this.name = "超人强";
        wordList.add("小呆呆，我们去找猪猪侠抓水母吧 ！");
        wordList.add("所有人给我站一边 ！因为超人强我要出现！");
        wordList.add("我要挑战猪猪侠 ！");
    }
    @Override
    public Info getTrueWord() {
        Info info = new Info(name, wordList.get(random.nextInt(wordList.size())));
        return info;
    }

}
